export default {
  // 通用
  common: {
    confirm: "确定",
    cancel: "取消",
    save: "保存",
    delete: "删除",
    edit: "编辑",
    add: "添加",
    search: "搜索",
    reset: "重置",
    refresh: "刷新",
    loading: "加载中...",
    noData: "暂无数据",
    success: "操作成功",
    error: "操作失败",
    warning: "警告",
    info: "提示",
  },

  // 菜单
  menu: {
    dashboard: "仪表板",
    userManagement: "用户管理",
    users: "用户列表",
    roles: "角色管理",
    knowledgeManagement: "知识管理",
    categories: "知识分类",
    articles: "知识文章",
    videos: "教学视频",
    questions: "测试题库",
    eventManagement: "事件管理",
    eventTypes: "事件类型",
    eventRecords: "事件记录",
    volunteerManagement: "志愿者管理",
    volunteerApplications: "志愿者申请",
    volunteerList: "志愿者列表",
    notificationManagement: "通知管理",
    sendNotifications: "发送通知",
    notificationHistory: "通知历史",
    systemSettings: "系统设置",
    fileManagement: "文件管理",
  },

  // 用户管理
  user: {
    username: "用户名",
    realName: "真实姓名",
    email: "邮箱",
    phone: "电话",
    department: "院系",
    class: "班级",
    status: "状态",
    role: "角色",
    createTime: "创建时间",
    actions: "操作",
    addUser: "新增用户",
    editUser: "编辑用户",
    deleteUser: "删除用户",
    userForm: {
      username: "用户名",
      password: "密码",
      confirmPassword: "确认密码",
      email: "邮箱地址",
      phone: "联系电话",
      realName: "真实姓名",
      department: "所属院系",
      class: "所在班级",
      role: "用户角色",
      status: "账户状态",
    },
    statusOptions: {
      active: "正常",
      inactive: "禁用",
      suspended: "暂停",
    },
  },

  // 角色管理
  role: {
    name: "角色名称",
    description: "描述",
    permissions: "权限",
    createTime: "创建时间",
    addRole: "新增角色",
    editRole: "编辑角色",
    deleteRole: "删除角色",
    managePermissions: "权限设置",
    roleForm: {
      name: "角色名称",
      description: "角色描述",
      permissions: "角色权限",
    },
  },

  // 知识管理
  knowledge: {
    category: {
      name: "分类名称",
      description: "描述",
      icon: "图标",
      sortOrder: "排序",
      articleCount: "文章数",
      createTime: "创建时间",
      addCategory: "新增分类",
      editCategory: "编辑分类",
      deleteCategory: "删除分类",
      categoryForm: {
        name: "分类名称",
        description: "分类描述",
        icon: "分类图标",
        sortOrder: "显示排序",
        status: "分类状态",
      },
    },
  },

  // 验证消息
  validation: {
    required: "{field}不能为空",
    email: "请输入正确的邮箱格式",
    phone: "请输入正确的手机号码",
    minLength: "{field}至少需要{len}个字符",
    maxLength: "{field}不能超过{len}个字符",
    passwordMismatch: "两次输入的密码不一致",
  },

  // 确认对话框
  confirm: {
    delete: "确定要删除 {name} 吗？此操作不可恢复。",
    logout: "确定要退出登录吗？",
  },

  // 消息提示
  message: {
    loginSuccess: "登录成功",
    logoutSuccess: "退出成功",
    saveSuccess: "保存成功",
    deleteSuccess: "删除成功",
    operationSuccess: "操作成功",
    networkError: "网络错误，请检查网络连接",
    serverError: "服务器错误，请稍后重试",
    permissionDenied: "权限不足，无法执行此操作",
  },
};
